.micro-goods-box {
  position: relative;
  padding: 5px 5px;

  .goods-list {
    display: flex;
    flex-wrap: wrap;

    .goods-li {
      width: 50%;

      &.isGoodCell3 {
        width: 33.33%;
      }

      .goods-li-box {
        padding: 10px 5px;

        &.no-goods-price {
          padding-bottom: 32px;
        }

        .goods-item {
          position: relative;

          .goods-img-one {
            width: 100%;
            background-color: #ccc;
            background-repeat: no-repeat;
            background-size: cover;

            &::before {
              content: '';
              padding-top: 100%;
              float: left;
            }

            &::after {
              content: '';
              display: block;
              clear: both;
            }
          }

          .goods-box-info {
            margin-top: 3px;

            .goods-info-title {
              width: 100%;
              font-size: 12px;
              overflow: hidden;
              text-overflow: ellipsis;
              -o-text-overflow: ellipsis;
              -webkit-text-overflow: ellipsis;
              -moz-text-overflow: ellipsis;
              white-space: nowrap;
              /* word-break: break-all;
               display: -webkit-box;
               -webkit-line-clamp: 2;
               -webkit-box-orient: vertical;
               overflow: hidden;*/
            }

            .goods-info-desc {
              width: 100%;
              font-size: 12px;
              color: #999;
              overflow: hidden;
              text-overflow: ellipsis;
              -o-text-overflow: ellipsis;
              -webkit-text-overflow: ellipsis;
              -moz-text-overflow: ellipsis;
              white-space: nowrap;
              margin-top: 5px;
            }

            .goods-info-price {
              position: relative;
              margin-top: 10px;

              &.goods-cell-3 {
                padding-right: 20px;
              }

              .price-info {
                width: 100%;
                font-size: 14px;
                color: #ff4444;
                overflow: hidden;
                text-overflow: ellipsis;
                -o-text-overflow: ellipsis;
                -webkit-text-overflow: ellipsis;
                -moz-text-overflow: ellipsis;
                white-space: nowrap;
              }

              .goods-info-buy-btn {
                position: absolute;
                top: 0;
                right: 0;

                .btn-type-1 {
                  display: inline-block;
                  width: 20px;
                  height: 20px;
                  background-image: url("/img/micro-page/card.png");
                  background-size: 100%;
                }

                i[class^="el-icon-"] {
                  font-size: 22px;
                  color: #ff4444;
                }
                .el-button{
                  line-height: 22px;
                  height: 24px;
                  padding: 0 7px;
                }
              }
            }
          }
        }
      }
    }
  }

  .design-config-editor {
    .el-form {
      background: #fff;
    }

    .el-checkbox-group {
      .el-checkbox {
        display: block;
      }

      .el-checkbox + .el-checkbox {
        margin-left: 0;
      }
    }

    .el-form-item {
      margin-bottom: 0;
    }

    .goods-select-shops {
      padding: 10px 0;
      margin-bottom: 20px;
      border: 1px solid #e5e5e5;
      background: #fff;

      .goods-select-control-group {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        align-items: center;
      }

      .goods-select-label {
        font-size: 12px;
        width: 85px;
        -ms-flex-negative: 0;
        -webkit-flex-shrink: 0;
        flex-shrink: 0;
        text-align: right;
        margin-right: 10px;
        align-self: flex-start;
      }

      .goods-select-list {
        display: flex;
        flex-wrap: wrap;

        .goods-select-item {
          position: relative;
          display: inline-block;
          margin: 0 10px 10px 0;
          background-color: #fff;

          &:hover {
            .close-item {
              display: block;
            }
          }

          .goods-select-item-img {
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            border: 1px solid #ddd;
            font-size: 22px;
          }

          .close-item {
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 20px;
            line-height: 20px;
            text-align: center;
            top: -10px;
            right: -10px;
            z-index: 15;
            font-size: 14px;
            cursor: pointer;
            color: #fff;
            background: #bbb;
            display: none;
          }
        }
      }
    }
  }

  .btn-style {
    background-color: #ffffff;
    padding: 10px 16px;
    margin-top: 20px;
    border: 1px dashed #c1c0c0;
    transition: all .2s;

    .el-radio {
      margin-bottom: 10px;

      .el-radio__label {
        font-size: 12px;
      }
    }

    .btn-type-input {
      input {
        width: 80px;
        height: 30px;
      }
    }
  }

}
